Fix faulty decoded-time adjustment in erc-stamp
authorF. Jason Park <jp@neverwas.me>
Sun, 10 Mar 2024 13:08:30 +0000 (06:08 -0700)
committerF. Jason Park <jp@neverwas.me>
Sun, 10 Mar 2024 13:11:29 +0000 (06:11 -0700)
commitf3da3d1c68bef60ef28d67c6d8fa5d0cba8c9f08
treee38bcbd4d4daf8eea2a6bd19b42e1e6e154b3f5b
parent166c8a989491c21ea3baf96e4730a4ad9b78308f
Fix faulty decoded-time adjustment in erc-stamp

* lisp/erc/erc-stamp.el (erc-stamp--lr-date-on-pre-modify): Remove
disruptive assertion for now.
(erc-stamp--time-as-day): Attempt to fix date being rewound by a whole
day when daylight saving time is in effect.  Do this by forcing the
`dst' slot of the `decoded-time' object to -1 and the `zone' to nil.
lisp/erc/erc-stamp.el